package top.itmeans.yes.mapper;

import org.apache.ibatis.annotations.Param;
import top.itmeans.yes.dto.ProductAttrInfo;
import top.itmeans.yes.entity.ProductAttribute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 玉货属性参数表 Mapper 接口
 * </p>
 *
 * @author Yiming.Cao
 * @since 2022-04-28
 */
public interface ProductAttributeMapper extends BaseMapper<ProductAttribute> {
    /**
     * 获取商品属性信息
     */
    List<ProductAttrInfo> getProductAttrInfo(@Param("id") Long productCategoryId);
}
